package com.peas.platform.module.icims.budget.adjust.service;

import com.peas.platform.framework.mybatisplus.service.BaseService;
import com.peas.platform.module.icims.budget.adjust.api.req.SaveBudgetNewVo;
import com.peas.platform.module.icims.budget.adjust.api.req.SubmitBudgetNewVo;
import com.peas.platform.module.icims.budget.adjust.dto.BudgetNewDto;

import java.math.BigDecimal;
import java.util.List;

public interface BudgetNewService extends BaseService<BudgetNewDto> {

    BudgetNewDto saveBudgetNew(SaveBudgetNewVo vo);

    void submitBudgetNew(SubmitBudgetNewVo vo);

    void revocationBudgetNew(Long id);

    List<BudgetNewDto> queryBudgetNewById(List<Long> idList);

    List<BudgetNewDto> queryBudgetNewByOrganizationId(Long organizationId);

    List<BudgetNewDto> queryBudgetNewByProjectOneId(Long projectOneId);

    List<BudgetNewDto> queryBudgetNewByApplyGovernmentId(Long applyGovernmentId);

    List<BudgetNewDto> queryBudgetNewByUseGovernmentId(Long useGovernmentId);

    BigDecimal calcBudgetNewTotalAmount(BudgetNewDto dto);

}
